package org.example.baseinfo.pojo.vo.school;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class SchoolVO{

    @ApiModelProperty(value = "创建时间")
    private String createDatetime;

    @ApiModelProperty(value = "更新时间")
    private String updateDatetime;

    @ApiModelProperty(value = "学校ID", example = "organ_001", hidden = true)
    private String schoolId;

    @NotBlank(message = "学校编码不能为空")
    @ApiModelProperty(value = "学校编码", example = "HID0101", required = true)
    private String schoolCode;

    @NotBlank(message = "学校名称不能为空")
    @ApiModelProperty(value = "学校名称", example = "四川大学华西医院", required = true)
    private String schoolName;

}
